ImageName.Remove Method

Syntax

.Remove( Logical_Image_Name as C )

Arguments

Real_Image_Name

The name of a real image in the string dictionary.

Description

The .Remove() method removes a logical image name entry from the string dictionary.

Example

dim ir as P
dim nm as P
ir = ImageResource.get()
nm = ir.GetBitmapNameMap()
nm.Initialize(<<%str%
image_1=$a5_folder
image_2=$a5_folder_open
%str%)
? nm.exists("image_1")
= .T.
nm.remove("$a5_folder")
? nm.exists("image_1")
= .F.

See Also